//面包屑
const path = ['供应商管理', {
	label: '采购订单 ',
	name: 'stonePurchaseSoleList'
}, '采购订单详情'];
//状态条
const stepOption = {
	activeStep: 0,
	step: [{
			title: '待接单',
			description: ''
		},
		{
			title: '已出库',
			description: ''
		}
	]
};
//基础信息
const tableFormInline = [
	{
		label: '采购订单号',
		value: ''
	},
	{
		label: '订单状态',
		value: ''
	},
	{
		label: 'LOGO刻字位置',
		value: ''
	},
	{
		label: '采购组',
		value: ''
	},
	{
		label: '供应商编码',
		value: ''
	},
	{
		label: '备注',
		value: ''
	}
];
//表头—— 采购商品信息
const tableHeaderData = [
	{
		prop:'barCode',
		label:'条码',
		width:'160'
	},
	{
		prop:'goodCode',
		label:'品类',
		width:'140'
	},
	{
		prop:'customNumber',
		label:'商品编码',
		width:'140'
	},
	{
		prop:'category',
		label:'商品类型',
		width:'120'
	},
	{
		prop:'descrption',
		label:'描述',
		width:'200'
	},
	{
		prop:'amount',
		label:'数量',
		width:'100'
	},
	{
		prop:'unit',
		label:'加工类型',
		width:'100'
	},
	{
		prop:'lettering',
		label:'客户刻字',
		width:'100'
	}
]
//表头—— 物料明细
const tableHeaderData2 = [
	{
		prop:'materialCode',
		label:'库位',
		width:''
	},
	{
		prop:'materialName',
		label:'条码',
		width:''
	},
	{
		prop:'outAmount',
		label:'商品编码',
		width:''
	},
	{
		prop:'outUnit',
		label:'商品类型',
		width:''
	},
	{
		prop:'aaa',
		label:'描述',
		width:''
	},
	{
		prop:'bbb',
		label:'数量',
		width:''
	},
	{
		prop:'ccc',
		label:'单位',
		width:''
	},
	{
		prop:'ddd',
		label:'是否厂配',
		width:''
	},
	{
		prop:'fff',
		label:'最大-最小镶口',
		width:''
	},
	{
		prop:'eee',
		label:'克拉重',
		width:''
	},
	{
		prop:'ggg',
		label:'净金重',
		width:''
	},
	{
		prop:'hhh',
		label:'产品总重',
		width:''
	},
]
//表头—— 收/退料记录
const tableHeaderData3 = [
	{
		prop:'exclusiveCode',
		label:'标识',
		width:''
	},
	{
		prop:'orderAmount',
		label:'库位',
		width:''
	},
	{
		prop:'amountPayable',
		label:'条码',
		width:''
	},
	{
		prop:'payStatus',
		label:'商品编码',
		width:''
	},
	{
		prop:'payAmount',
		label:'商品类型',
		width:''
	},
	{
		prop:'payRatio',
		label:'物料描述',
		width:''
	},
	{
		prop:'dsa',
		label:'数量',
		width:''
	},
	{
		prop:'asd',
		label:'单位',
		width:''
	},
	{
		prop:'www',
		label:'是否厂配',
		width:''
	},
	{
		prop:'qqq',
		label:'最大-最小镶口',
		width:''
	},
	{
		prop:'eee',
		label:'克拉重',
		width:''
	},
	{
		prop:'ttt',
		label:'净金重',
		width:''
	},
	{
		prop:'hhh',
		label:'产品总重',
		width:''
	},
]
//表头—— 质检记录
const tableHeaderData4 = [
	{
		prop:'aaa',
		label:'条码',
		width:''
	},
	{
		prop:'bbb',
		label:'描述',
		width:''
	},
	{
		prop:'ccc',
		label:'质检状态',
		width:''
	},
	{
		prop:'ddd',
		label:'不合格原因',
		width:''
	},
	{
		prop:'eee',
		label:'责任归属',
		width:''
	},
	{
		prop:'fff',
		label:'定制编码',
		width:''
	},
	{
		prop:'ggg',
		label:'送检时间',
		width:''
	},
	{
		prop:'hhh',
		label:'质检时间',
		width:''
	},
	{
		prop:'iii',
		label:'质检人',
		width:''
	},
]
//表头—— 发货记录
const tableHeaderData5 = [
	{
		prop:'aaa',
		label:'结算单号',
		width:''
	},
	{
		prop:'bbb',
		label:'发货单类型',
		width:''
	},
	{
		prop:'ccc',
		label:'发货数量',
		width:''
	},
	{
		prop:'ddd',
		label:'是否制证',
		width:''
	},
	{
		prop:'eee',
		label:'制证状态',
		width:''
	},
	{
		prop:'fff',
		label:'发货日期',
		width:''
	},
	{
		prop:'ggg',
		label:'质检完成时间',
		width:''
	},
	{
		prop:'hhh',
		label:'发货单状态',
		width:''
	}
]
//表头—— 变更记录
const tableHeaderData6 = [
	{
		prop:'aaa',
		label:'条码',
		width:''
	},
	{
		prop:'bbb',
		label:'品类',
		width:''
	},
	{
		prop:'ccc',
		label:'款式名称',
		width:''
	},
	{
		prop:'ddd',
		label:'商品号',
		width:''
	},
	{
		prop:'eee',
		label:'描述',
		width:''
	},
	{
		prop:'fff',
		label:'数量',
		width:''
	},
	{
		prop:'ggg',
		label:'单位',
		width:''
	},
	{
		prop:'hhh',
		label:'加工类型',
		width:''
	},
	{
		prop:'rrr',
		label:'刻字',
		width:''
	},
	{
		prop:'iii',
		label:'备注',
		width:''
	}
]
let Model = {
	data() {
		return {
			Model: {
				queryData: undefined,
				path,
				activeTab: '1',
				tableFormInline,					//出库单基础信息				
				stepOption,							//状态条
				tableHeaderData,					//采购商品信息（表头）
				tableHeaderData2,					//物料明细（表头）
				tableHeaderData3,					//收退料记录（表头）
				tableHeaderData4,					//质检记录（表头）
				tableHeaderData5,					//发货记录（表头）
				tableHeaderData6,					//变更记录（表头）
				Outofstock:'1',						//出库否
				OutofstockBtn:'1',
				refuseReason:false,
				detailTableFrom: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				detailTableFrom2: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab1TableDetail1: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab2TableDetail1: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab3TableDetail1: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab4TableDetail1: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab5TableDetail1: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab6TableDetail1: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
			}
		}
	}
}
export default Model;
